﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PartyController.Models
{
    public class Party
    {
        List<Guest> Guests = new List<Guest>();
        public string Title { get; set; }
        public Party(string title)
        {
            Title = title;
        }
        public void AddGuest(Guest guest)
        {
            Guests.Add(guest);
        }

        public List<Guest> GetGuestList()
        {
            return Guests;
        }
    }
}